<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="language" content="en" />

	<!-- blueprint CSS framework -->
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/screen.css" media="screen, projection" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/print.css" media="print" />

	<!--[if lt IE 8]>
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/ie.css" media="screen, projection" />
	<![endif]-->

	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/main.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/nivo-slider.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/form.css" />
    <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/nivo-zoom.css" type="text/css" media="screen" />
    <script src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery-1.6.1.min.js" type="text/javascript"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery.nivo.zoom.js"></script>



	<title><?php echo CHtml::encode($this->pageTitle); ?></title>
</head>

<body>

<div class="container" id="page">
<div id="sombra">
	<div id="header">
		<div id="logo"><?php echo CHtml::image(Yii::app()->baseUrl . '/images/logo.png' , $alt='',$htmlOptions=array ("width"=>"200", "height"=>"121")); ?></div>
        <div id="mainmenu" style="padding-left: 30px;">
		<?php $this->widget('zii.widgets.CMenu',array(
			'items'=>array(
				array('label'=>'HOME', 'url'=>array('/site/index')),
				array('label'=>'EMPRESA', 'url'=>array('/site/page', 'view'=>'empresa')),
				array('label'=>'EMPREENDIMENTOS', 'url'=>array('/site/page', 'view'=>'empreendimentos')),
				array('label'=>'EM OBRA', 'url'=>array('/site/page', 'view'=>'emobra1')),
				array('label'=>'LANÇAMENTOS', 'url'=>array('/site/page', 'view'=>'lancamentos')),
				array('label'=>'CONTATO', 'url'=>array('/site/contact')),	
				array('label'=>'Logout ('.Yii::app()->user->name.')', 'url'=>array('/site/logout'), 'visible'=>!Yii::app()->user->isGuest)
			),
			'lastItemCssClass'=>'ultimoItem',
		)); ?>
	</div><!-- mainmenu -->
	</div><!-- header -->
    
</div>
	
        

	<?php echo $content; ?>
        
       

	<div id="footer">
            <b>T&S Contruções e Incorporações</b><br/>
            <b>Endereço:</b> Av.Conselheiro Aguiar, 4635, Sala 406, Boa Viagem, Recife/PE - <b>Telefone:</b> (81) 3274-2122 - <b>E-mail:</b> contato@tesconstrucoes.com.br		
	</div><!-- footer -->

</div><!-- page -->

</body>
</html>